package Code.AssigningOperator;

public class Demo {
    public static void main(String[] args) {
        //+=
        int a = 10;
        int b = 20;
        a += b;
        System.out.println("a = " + a+" b = " + b);

        short s = 1;
        s+=1;   //等同于s = (short)(s + 1)
        System.out.println(s);
    }
}
